//
//  ChangeSalerInfoViewModel.m
//  YIJU2.0HD
//
//  Created by URANUS on 16/5/26.
//  Copyright © 2016年 Mr.X. All rights reserved.
//

#import "ChangeSalerInfoViewModel.h"
#import "PersonCenterViewController.h"
#import "SyncTimer.h"
#import "UIAlertControllerUtil.h"

@implementation ChangeSalerInfoViewModel
- (void)manager:(NetworkingBaseManager *)manager callAPIDidSuccessWithParams:(NSDictionary *)responseParams {
    
}

- (void)loadRequest {
    self.manager = [NetworkingManagerFactory generateSHA256Manager];
    RequestGenerator *generator = [RequestGenerator sharedInstance];
    self.manager.apiName = [generator generateCommonApiWithName:[NSString stringWithFormat:@"salers/%ld",[AppContext sharedInstance].userId]];
    self.manager.params = self.postObject;
    self.manager.requestType = HTTP_PUT;
    self.manager.successDelegate = self;
    self.manager.validator = self;
    [self.manager loadRequest];
}

@end
